package com.help.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


@ApiModel(value = "helpapp.help_note")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "helpapp.help_note")
public class HelpNote implements Serializable {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.INPUT)
    @ApiModelProperty(value = "id")
    private Long id;

    /**
     * 是否紧急
     */
    @TableField(value = "is_urgent")
    @ApiModelProperty(value = "是否紧急")
    private String isUrgent;

    /**
     * 地址
     */
    @TableField(value = "location_address")
    @ApiModelProperty(value = "地址")
    private String locationAddress;

    @TableField(value = "location_name")
    @ApiModelProperty(value = "位置")
    private String locationName;

    /**
     * 纬度
     */
    @TableField(value = "location_latitude")
    @ApiModelProperty(value = "纬度")
    private String locationLatitude;

    /**
     * 经度
     */
    @TableField(value = "location_longitude")
    @ApiModelProperty(value = "经度")
    private String locationLongitude;

    /**
     * 手机
     */
    @TableField(value = "phone")
    @ApiModelProperty(value = "手机")
    private String phone;

    /**
     * 日期
     */
    @TableField(value = "`date`")
    @ApiModelProperty(value = "日期")
    private String date;

    /**
     * 时间
     */
    @TableField(value = "`time`")
    @ApiModelProperty(value = "时间")
    private String time;

    /**
     * 情况的描述
     */
    @TableField(value = "detail")
    @ApiModelProperty(value = "情况的描述")
    private String detail;

    /**
     * 用户openid
     */
    @TableField(value = "openid")
    @ApiModelProperty(value = "用户openid")
    private String openid;

    /**
     * 用户的名字
     */
    @TableField(value = "user_name")
    @ApiModelProperty(value = "用户的名字")
    private String userName;

    private static final long serialVersionUID = 1L;
}